package com.chenyun.sys.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyun.sys.domain.Permission;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

public interface PermissionMapper extends BaseMapper<Permission> {
    //根据权限或菜单ID删除权限表各和角色的关系表里面的数据
    void deleteRolePermissionByPid(@Param("id")Serializable id);
}
